<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Run Simulation Use Case</title>
<style type="text/css">
<!--
.style1 {
	font-size: 24px;
	font-weight: bold;
}
-->
</style>
</head>

<body>
<p class="style1">Run simulation use case, UC10</p>
<p class="style1">&nbsp;</p>
<p><strong>Primary Actor</strong>: Simulation Operator.</p>
<p>&nbsp;</p>
<p><strong>Stakeholders and Interests</strong>:<br />
  &nbsp;&nbsp; - Simulation  Operator: Wants data successfully sent to the TraffoBase.<br />
&nbsp;&nbsp; - TraffoBase  operator: Wants usable data that can be analyzed.</p>
<p>&nbsp;</p>
<p><strong>Preconditions</strong>:<br />
  &nbsp;&nbsp; - The TraffoSim  program has been installed.<br />
  &nbsp;&nbsp; - Configuration  files have been created.<br />
  &nbsp;&nbsp; - Network  Connection between TraffoSim and TraffoBase.<br />
  &nbsp;&nbsp; - TraffoBase must  be online.<br />
  &nbsp;&nbsp; <br />
  </p>
<p><strong>Success Guarantee (postconditions)</strong>:<br />
  &nbsp;&nbsp; - Data is  successfully sent from TraffoBase to TraffoSim.</p>
<p>&nbsp;</p>
<p><strong>Main Success Scenario (or Basic Flow)</strong>:<br />
  &nbsp;&nbsp; 1. Simulator  operator sets up a profile which contains the Profile name, URL of TraffoBase,  and user authetication (refer to SetupUI interface).</p>
<p><img border="0" src="../GUI/SetupUI.JPG" width="624" height="601"><br />
  &nbsp;&nbsp; 2. Simulation  operator loads configuration files.<br />
  &nbsp;&nbsp; 3. Simulation  operator chooses the mode, real time or non-realtime (refer to SimulationStatic  and Dynamic UI).<br />
  &nbsp;&nbsp; 4. Simulation  operator presses &quot;Start&quot; button to start the simulation.<br />
  &nbsp;&nbsp; 5. Simulation  operator gets confirmation message from the TraffoBase when the data is sent  successfully.</p>
<p><img border="0" src="../GUI/VerifyUI.JPG" width="626" height="765"></p>
<p>&nbsp;</p>
<p><strong>Extensions (or Alternative Flows)</strong>:<br />
  &nbsp;&nbsp; 2a. Configurtion  files not found.<br />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. Obtain the configuration files  from configuration designer.<br />
  &nbsp;&nbsp; 4a. Invalid  authenticaton.<br />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. Obtain  usesame and password from Traffobase.<br />
  &nbsp;&nbsp; 5a. If there is no  confirmation.<br />
  &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. Start again by choosing different  configuration file.<br />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 1a. If it works this time, the previous  configuration file might be corrupted or it might have been overloaded the  TraffoBase.<br />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 1b. If it doesn't work, check network  connection.</p>
<p>&nbsp;</p>
<p><strong>Special Requirements</strong>:<br />
&nbsp;&nbsp;&nbsp; n/a</p>
<p><strong>Technology and Date Variations List</strong>:<br />
&nbsp;&nbsp;&nbsp; n/a</p>
<p><strong>Frequency of Occurrence</strong>:<br />
&nbsp;&nbsp;&nbsp; Very often.&nbsp; </p>
<p><strong>Open Issue</strong>:<br />
&nbsp;&nbsp;&nbsp; n/a</p>
</body>
</html>